import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'



Vue.config.productionTip = false

import Vconsole from "vconsole";
// let vConsole = new Vconsole()
// Vue.use(vConsole)

import { Message } from "element-ui";
import "element-ui/lib/theme-chalk/index.css";
Message.install = function (Vue, options) {
  Vue.prototype.$message = Message;
};
Vue.use(Message);

import { Toast } from "vant";
Vue.use(Toast);
import "vant/lib/index.css";
import "lib-flexible/flexible";

import Vuelidate from "vuelidate";
Vue.use(Vuelidate);

import { watchlocalstorage } from "./utils";
Vue.use(watchlocalstorage);
import '@/assets/css/reset.css'
import '@/assets/css/fonts.css';

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
